{"ast":null,"code":"import * as React from 'react';\nvar SizeContext = /*#__PURE__*/React.createContext(undefined);\nexport var SizeContextProvider = function SizeContextProvider(_ref) {\n  var children = _ref.children,\n    size = _ref.size;\n  return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (originSize) {\n    return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n      value: size || originSize\n    }, children);\n  });\n};\nexport default SizeContext;","map":{"version":3,"names":["React","SizeContext","createContext","undefined","SizeContextProvider","_ref","children","size","createElement","Consumer","originSize","Provider","value"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/config-provider/SizeContext.js"],"sourcesContent":["import * as React from 'react';\nconst SizeContext = /*#__PURE__*/React.createContext(undefined);\nexport const SizeContextProvider = _ref => {\n  let {\n    children,\n    size\n  } = _ref;\n  return /*#__PURE__*/React.createElement(SizeContext.Consumer, null, originSize => /*#__PURE__*/React.createElement(SizeContext.Provider, {\n    value: size || originSize\n  }, children));\n};\nexport default SizeContext;"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,IAAMC,WAAW,GAAG,aAAaD,KAAK,CAACE,aAAa,CAACC,SAAS,CAAC;AAC/D,OAAO,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmB,CAAGC,IAAI,EAAI;EACzC,IACEC,QAAQ,GAEND,IAAI,CAFNC,QAAQ;IACRC,IAAI,GACFF,IAAI,CADNE,IAAI;EAEN,OAAO,aAAaP,KAAK,CAACQ,aAAa,CAACP,WAAW,CAACQ,QAAQ,EAAE,IAAI,EAAE,UAAAC,UAAU;IAAA,OAAI,aAAaV,KAAK,CAACQ,aAAa,CAACP,WAAW,CAACU,QAAQ,EAAE;MACvIC,KAAK,EAAEL,IAAI,IAAIG;IACjB,CAAC,EAAEJ,QAAQ,CAAC;EAAA,EAAC;AACf,CAAC;AACD,eAAeL,WAAW"},"metadata":{},"sourceType":"module"}